import Vue from 'vue';
import VueRouter from 'vue-router';
const loginView = () =>
    import ('@/views/loginView')
const personalView = () =>
    import ('@/views/personalView')
const verifyView = () =>
    import ('@/views/verifyView')
const historyView = () =>
    import ('@/views/historyView')
const ioView = () =>
    import ('@/views/ioView')
const batchView = () =>
    import ('@/views/batchView')
const modifyView = () =>
    import ('@/views/modifyView')
const filterView = () =>
    import ('@/views/filterView')
const qywxView = () =>
    import ('@/views/qywxView')
const notifyView = () =>
    import ('@/views/notifyView')

Vue.use(VueRouter);
export default new VueRouter({
    // mode: 'history',
    routes: [{
        path: '/',
        component: personalView
    }, {
        path: '/login',
        component: loginView
    }, {
        path: '/personal',
        component: personalView
    }, {
        path: '/verify',
        component: verifyView
    }, {
        path: '/history',
        component: historyView
    }, {
        path: '/io',
        component: ioView
    }, {
        path: '/batch',
        component: batchView
    }, {
        path: '/modify',
        component: modifyView
    }, {
        path: '/filter',
        component: filterView
    }, {
        path: '/qywx',
        component: qywxView
    }, {
        path: '/notify',
        component: notifyView
    }]
});